

CODE=../../../code

INCLUDEPATH += $$CODE/inc/ ../inc

OBJECTS_DIR += $$CODE/obj/$$TARGET

QMAKE_CXXFLAGS += -std=c++11

QMAKE_LFLAGS += -Wl,-rpath,../lib

#isEmpty( TEMPLATE ) {
# TEMPLATE = app
#}

#message ( $$TEMPLATE )

contains(TEMPLATE, app)  {
    message(Building an application)
    DESTDIR = $$CODE/bin
}

contains(TEMPLATE, lib)  {
    message(Building a library)
    DESTDIR = $$CODE/lib
}


LIBS += -L$$CODE/lib
